package com.nbsaas.boot;

import java.nio.file.Path;
import java.nio.file.Paths;

public class TextApp {
    public static void main(String[] args) throws Exception {
        Path path = Paths.get("D:\\aaa.docx");
        String text = DocumentTextReader.readText(path);
        System.out.println("==== 文档文本内容 ====\n" + text);
    }
}
